package com.lagou.pojo;

/**
* <select id="selectOne" resultType="com.lagou.pojo.User" parameterType="com.lagou.pojo.User">
*    select * from user where id=#{id} and username=#{username}
* </select>
 */
public class MappedStatement {

    private String id;//id标识

    private String resultType; //返回值类型

    private String parameterType; //参数类型

    private String sql; //sql语句

    private String sqlType;//sql类型 INSERT UPDATE DELETE SELECT

    public String getSqlType() {
        return sqlType;
    }

    public void setSqlType(String sqlType) {
        this.sqlType = sqlType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getParameterType() {
        return parameterType;
    }

    public void setParameterType(String parameterType) {
        this.parameterType = parameterType;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }
}

